<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="Generator" content="EditPlus®">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <title>Document</title>
    <script type="text/javascript">
       function testCall(){

        //同步调用 别名+Exports :如 nativeAppExports
          nativeExports.callNative({name:"同步调用"},function(res){
             alert("callback 同步:"+JSON.stringify(res));
           });

        //异步调用
        nativeExports.callAsyncNative({name:"异步调用"},function(res){
               alert("callback:异步 "+JSON.stringify(res));
            });
        alert("我要处理其他逻辑。。。。");
       }

    </script>
</head>
<body>
<br><br><br><br><br><br>
Native回调js Demo
<br><br><br>
<a href="./test2.html">跳到第二页</a>
</body>
</html>
